home *** CD-ROM | disk | FTP | other *** search
/ AmigActive 10 / AACD 10.iso / AACD / Online / SpeakFreely / src / lpc10 / Options / filter.h < prev    next >
C/C++ Source or Header  |  2000-05-18  |  497b  |  15 lines

  1. typedef struct
  2. {
  3.    float *num;        /* numerator coefficients, subscript is power of z^-1        */
  4.    float *den;        /* denominator coefficients, subscript is power of z^-1        */
  5.    float *buf;        /* buffer for filter history                    */
  6.    int nl;        /* # of numerator coefficients                    */
  7.    int dl;        /* # of denominator coefficients                */
  8.    int bufl;        /* length of buf                        */
  9. } FILTER;
  10.  
  11. extern FILTER        *filter_create();
  12. extern float         filter();
  13. extern float        *filter_state_read();
  14. extern int         filter_state_set();
  15.